<include file="Public/header"/>

		<div id="app">
			<!-- sidebar -->
			<include file="Public/left"/>
			<!-- / sidebar -->
			<div class="app-content">
				<!-- start: TOP NAVBAR -->
				<include file="Public/headernav"/>
				<!-- end: TOP NAVBAR -->
				<div class="main-content" >
					<div class="wrap-content container" id="container">
						<!-- start: PAGE TITLE -->
						<section id="page-title">
							<div class="row">
								<div class="col-sm-8">
									<h1 class="mainTitle">{$msgtitle}</h1>
									<span class="mainDescription">公告信息</span>
								</div>
								
							</div>
						</section>
						<!-- end: PAGE TITLE -->
						<!-- start: YOUR CONTENT HERE -->
<div class="container-fluid container-fullw bg-white">
<form action="" role="form" id="form2" novalidate="novalidate" method="post">
<div class="row">
	<div class="col-md-6">
	<div class="form-group">
		<label class="control-label">
			标题 <span class="symbol required" aria-required="true"></span>
		</label>
		<input type="text" placeholder="填写标题" class="form-control" value="{$data.title}" id="title" name="title">
	</div>

   
     
	<div class="form-group">
		<label class="control-label">
				内容： <span class="symbol required" aria-required="true"></span>
		</label>
		<div>
		<textarea id="type_2" name="content"  class=" autosize" data-autosize-on="true" style="overflow: hidden; resize: horizontal; word-wrap: break-word;  width: 100%;  height: 300px;">{$data.content}</textarea>
		 <!-- 加载编辑器的容器 -->
	    </div>
	     <input type="hidden" placeholder="" class="form-control" value="" id="msg" name="msg">
	</div>

	 
   <!--  <div class="form-group">
   		<label class="control-label">
   			摘要 
   		</label>
   		<textarea class="form-control autosize" name="param_desc" data-autosize-on="true" style="overflow: hidden; resize: horizontal; word-wrap: break-word; height: 71px;">{$data.param_desc}</textarea>
   	</div>
   -->

</div>
</div>
<div class="row">
<div class="col-md-4">
	<input type="hidden"  value="{$data.id}" name="id">
	<button class="btn btn-primary btn-wide pull-left" type="submit">
		提交 <i class="fa fa-arrow-circle-right"></i>
	</button>
</div>

<div class="col-md-8">
	<p>
		
	</p>
</div>

</div>											
</form>
</div>	


                  





						<!-- end: YOUR CONTENT HERE -->
					</div>
				</div>
			</div>
			<!--  FOOTER and SETTINGS -->
			
           <include file="Public/footer"/>
			<!-- end: FOOTER -->
			<!-- start: OFF-SIDEBAR -->
			
			<!-- end: OFF-SIDEBAR -->
			
		</div>
		<!-- start: MAIN JAVASCRIPTS -->

         <include file="Public/javascript"/>
		
		<!-- end: CLIP-TWO JAVASCRIPTS -->

		<!-- start: JAVASCRIPTS REQUIRED FOR THIS PAGE ONLY -->
		<script src="__PUBLIC__/bootstrap/vendor/ckeditor/ckeditor.js"></script>
		<script src="__PUBLIC__/bootstrap/vendor/ckeditor/adapters/jquery.js"></script>
		<script src="__PUBLIC__/bootstrap/vendor/jquery-validation/jquery.validate.min.js"></script>

 <!-- 配置文件 -->
    <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.config.js"></script>
    <!-- 编辑器源码文件 -->
    <script type="text/javascript" src="__PUBLIC__/ueditor/ueditor.all.js"></script>
    <!-- 实例化编辑器 -->
    <script type="text/javascript">
        var ue = UE.getEditor('type_2');
    </script>

  <script type="text/javascript">
jQuery(document).ready(function() {
				//FormValidator.init();
		jQuery.validator.addMethod("get_param_value", function(value) {
			var ret =true;
			//2 长文本
		     ret=ue.hasContents();
		  return ret;   
		});

});
    </script>   
		<!-- end: JAVASCRIPTS REQUIRED FOR THIS PAGE ONLY -->
		<!-- start: CLIP-TWO JAVASCRIPTS -->
		<!-- <script src="__PUBLIC__/bootstrap/assets/js/main.js"></script> -->
		<!-- start: JavaScript Event Handlers for this page -->
		<!--<script src="__PUBLIC__/bootstrap/assets/js/form-validation.js"></script>-->
	<script>
jQuery(document).ready(function() {
				//FormValidator.init();

	$("#form2").validate({
	  rules: {
	   title: "required",
	    msg: "get_param_value"
	  },
	  messages: {
	  title: "请输入参数名称",	
	  msg: "请输入内容"
	  }
	  });
	});
		</script>		

   
		<!-- end: JavaScript Event Handlers for this page -->
	</body>
</html>
